package com.lgy.springcloud.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@Accessors(chain = true)
@TableName("dept")  //数据表
public class Dept implements Serializable {
    @TableId
    private Integer deptno;
    private String dname;
    private String loc;
}

